home *** CD-ROM | disk | FTP | other *** search
/ Family Forum 262 / SOMC Family Forum 262.iso / Xtras / Widget Wizard / Widget Wizard.dir / WidgtBehaviors_3_behavior_template.ls < prev    next >
Encoding:
Text File  |  1997-05-10  |  349 b   |  23 lines

  1. property enabled, runtime, debug
  2.  
  3. on new me
  4.   set the enabled of me to 1
  5.   set the runtime of me to 1
  6.   set the debug of me to 1
  7.   return me
  8. end
  9.  
  10. on describe
  11.   return "generic behavior template"
  12. end
  13.  
  14. on error me, estring
  15.   if the debug of me then
  16.     if the runtime of me then
  17.       alert(estring)
  18.     else
  19.       put estring
  20.     end if
  21.   end if
  22. end
  23.